You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds generic, redacted tool execution audit context with principal class, credential scope, source summary, timestamp, and result status.
Carries that audit metadata into staged pending actions and exposes frontend-ready pending-action list/get rows with flattened fields and resolve hints.
Normalizes CLI pending-action rows so action kinds like bundle_upgrade can list without requiring legacy top-level agent_id fields.
vendor/bin/phpcs <edited files> is not currently usable as a targeted signal without a repo config; it flags existing project tab indentation/docblock style across unchanged lines.
AI assistance
AI assistance: Yes
Tool(s): OpenCode (gpt-5.5)
Used for: Implementing the generic audit/pending-action mechanics, drafting the smoke coverage, and running targeted verification. Chris remains responsible for review and merge.
ℹ️ No tests ran — the runner failed before producing results. See raw_output.stderr_tail / raw_output.stdout_tail for the underlying error (bootstrap failure, missing deps, DB connection, etc.).
ℹ️ To run specific tests: homeboy test data-machine -- --filter=TestName
ℹ️ Auto-fix lint issues: homeboy refactor data-machine --from lint --write
ℹ️ Collect coverage: homeboy test data-machine --coverage
ℹ️ Analyze failures: homeboy test data-machine --analyze
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine --changed-since dd9eac3
Artifacts and drill-down
CI results artifact: homeboy-ci-results-data-machine-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
Observation artifact: homeboy-observations-data-machine-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
The red homeboy / Test check is NOT caused by this PR.
Captured the live error from a fresh re-run (run 27076595050, job 79954486943): the wp-codebox PHPUnit backend crashes at bootstrap because the wordpress homeboy extension can't resolve @automattic/wp-codebox-core and its bundled fallback was removed:
Error: WP Codebox recipe builder export buildWordPressPhpunitRecipe is unavailable.
- @automattic/wp-codebox-core: Cannot find package '@automattic/wp-codebox-core'
imported from .../wordpress/scripts/bench/wp-codebox-recipe-builder-loader.mjs
No tests run (failure_count: 0, empty test_failures.json) — the harness dies before executing anything. This affects every WordPress consumer's Test job, not just this PR.
This PR's own new smoke test (tests/pending-action-inspection-normalization-smoke.php) passes clean in isolation (10 assertions, verified locally).
Root cause filed: Extra-Chill/homeboy-extensions#1169. This PR is safe to merge once you're satisfied with the diff; the Test check will stay red network-wide until #1169 is fixed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bundle_upgradecan list without requiring legacy top-levelagent_idfields.Closes #2563.
Refs #2564.
Refs #2526.
Verification
php tests/pending-action-inspection-normalization-smoke.phpphp tests/tool-executor-ability-native-smoke.phpphp -l inc/Engine/AI/Tools/ToolExecutor.php && php -l inc/Engine/AI/Actions/PendingActionInspectionAbility.php && php -l inc/Engine/AI/Actions/PendingActionHelper.php && php -l inc/Cli/Commands/PendingActionsCommand.php && php -l tests/pending-action-inspection-normalization-smoke.phpgit diff --checkNotes
vendor/bin/phpcs <edited files>is not currently usable as a targeted signal without a repo config; it flags existing project tab indentation/docblock style across unchanged lines.AI assistance